import 'package:oramemo/generated/json/base/json_field.dart';
import 'package:oramemo/generated/json/user_task_query_entity.g.dart';
import 'dart:convert';
export 'package:oramemo/generated/json/user_task_query_entity.g.dart';

@JsonSerializable()
class UserTaskQueryEntity {
	int? total;
	List<UserTaskQueryRows>? rows;
	int? code;
	String? msg;

	UserTaskQueryEntity();

	factory UserTaskQueryEntity.fromJson(Map<String, dynamic> json) => $UserTaskQueryEntityFromJson(json);

	Map<String, dynamic> toJson() => $UserTaskQueryEntityToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}

@JsonSerializable()
class UserTaskQueryRows {
	String? createTime;
	UserTaskQueryRowsParams? params;
	int? id;
	int? userId;
	String? taskTitle;
	String? taskTime;
	String? taskDesc;
	int? taskStatus;

	UserTaskQueryRows();

	factory UserTaskQueryRows.fromJson(Map<String, dynamic> json) => $UserTaskQueryRowsFromJson(json);

	Map<String, dynamic> toJson() => $UserTaskQueryRowsToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}

@JsonSerializable()
class UserTaskQueryRowsParams {


	UserTaskQueryRowsParams();

	factory UserTaskQueryRowsParams.fromJson(Map<String, dynamic> json) => $UserTaskQueryRowsParamsFromJson(json);

	Map<String, dynamic> toJson() => $UserTaskQueryRowsParamsToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}